%% Gecomment omdat ik denk dat ie niet meer nodig is.


% function [ results ] = MergeBlocks( input )
% output = input;
% 
% f = fieldnames(output.Results(1,2,1));
% for e = 1:length(f)
%     electrode = f{e};
% 
%     for b=1:3       
%         [X Y] = GetXY([output.Results(1,b,1).(electrode).N1.time], 0);
%     end    
%     output.Period(1,1).N1;
%     
% end
% 
% % data(2,:) = [output.Results(1,2,1).P7.N1.time]
% 
% end
% 
% 
% 
% function [X Y] = GetXY(data, GrAvgLatency)
% 
% L = length(data);
% X = data - GrAvgLatency;
% Y = 0:1/L:1-(1/L);
% 
% end